﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sharp08
{
    interface IA {
       void m1();
    }
    interface IB {
       void m2();
    }
    class C : IA,IB{
        void m1()
        {
            Console.WriteLine("Interface A");
        }
        void m2(){
            Console.WriteLine("Interface  B");
        }  
        void m3(){
            Console.WriteLine("Hello");
         }
    }

    class Program
    {
        static void Main(string[] args)
        {
            IA a=new C();
            a.m1();
            IB b = new C();
            b.m2();
        }
    }
}
